package com.wanmait.zaisousuo.exception;



public class ArticleNotFoundException extends  RuntimeException{

    private Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


      public ArticleNotFoundException(Integer id){
          super("这篇文章找不到了");
          this.id = id;
      }

    public ArticleNotFoundException(String message,Integer id){
        super(message);
        this.id = id;
    }

}
